package com.ylxl.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ylxl.entity.LaborProtection;
import com.ylxl.entity.reponse.LaborProtectionVO;
import com.ylxl.entity.request.LaborProtectionCmdOrMdy;
import com.ylxl.entity.request.QueryLaborProtection;
import com.ylxl.entity.request.StatusRequest;
import com.ylxl.entity.request.UserStatusRequest;

import java.util.List;

/**
 * 标签 业务层
 *
 */
public interface ILaborProtectionService extends IService<LaborProtection> {

    List<LaborProtectionVO> selectLabelList(QueryLaborProtection queryLaborProtection);
    boolean checkNameUnique( LaborProtectionCmdOrMdy laborProtectionCmdOrMdy);
    int insertLabel(LaborProtectionCmdOrMdy laborProtectionCmdOrMdy);
    int updateLabel(LaborProtectionCmdOrMdy laborProtectionCmdOrMdy);
    LaborProtectionVO selctById(Integer id);
    int deleteById(Integer id);
    int enableOrDisable(StatusRequest statusRequest);
}
